package com.simu.towercrane.activity;

import com.simu.towercrane.R;
import com.simu.towercrane.fragments.ProductFragment;


import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.Window;
import android.view.WindowManager;

public class ProductActivity extends BaseActivity {
	private ProductFragment productfragment;
	private Fragment[] fragments;
	
	@Override
	protected void onCreate(Bundle arg0) {
		// TODO Auto-generated method stub
		super.onCreate(arg0);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
		setContentView(R.layout.activity_productactivity);
		initView();
		 Intent intent= getIntent();
		 String a=intent.getStringExtra("objectID");
		 
		productfragment=new ProductFragment();
		fragments = new Fragment[]{productfragment};
		getSupportFragmentManager().beginTransaction().add(R.id.productActivity, productfragment)
		.show(productfragment).commit();
		
	}

	public void initView(){
		
		
		
	}
	
	
	
}
